package com.startrek.ch02;

public final class Singleton {

    private Singleton() { }

    public static Singleton getInstance() {
        return SingletonHolder.INSTANCES;
    }

    private static class SingletonHolder {
        public static final Singleton INSTANCES = new Singleton();
    }

}
